﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPStore.Web.Start
{
	public class MappingConfig
	{
		public static void Register()
		{
			// Model Mapping
			AutoMapper.Mapper.CreateMap<ERPStore.Models.User, ERPStore.Web.ViewModels.UserViewModel>();
			AutoMapper.Mapper.CreateMap<ERPStore.Web.ViewModels.UserViewModel, ERPStore.Models.User>();
		}
	}
}
